package com.chenjie.executor.day02;

public class Main2 {
    public static void main(String[] args) {
        //创建自定义task
        Task task=new Task();
        //创建线程，把task放进去
        Thread thread = new Thread(task);
        //启动线程
        thread.start();
    }
}
